import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    name: '首页 / 数据中心'
  },
  mutations: {
    revamp (state, msg) {
      state.name = msg
    }
  },
  actions: {
    revampAction (context, args) {
      context.commit('revamp', args)
    }
  },
  modules: {
  }
})